package com.lytoyo.neihanduanzi.model.dto;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lytoyo.neihanduanzi.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;

/**
 * Package:com.lytoyo.neihanduanzi.model.dto
 * 用户点赞、关注、粉丝量
 * @ClassName:status
 * @Create:2025/1/14 10:46
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("user_fans_attention_like")
public class StatusDto implements Serializable {
    private static final long serialVersionUID = 4L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    //0701：粉丝量、0702：关注量、0703：点赞量
    @TableField("type")
    private String type;

    @TableField("amount")
    private Long amount;


    @TableField("create_time")
    private Date createTime;

    @JsonIgnore
    @TableField("update_time")
    private Date updateTime;

    @JsonIgnore
    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;
}
